package com.mycc.game.damin;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("rules")
public class Rules {

    private long id;
    @TableField(value = "scenario_id")
    private long scenarioId;
    private String content;
    @TableField(value = "is_immediate_death")
    private long isImmediateDeath;
    private String description;
    @TableLogic(value = "0", delval = "1")// 逻辑删除
    private Integer deleted;
}
